import React, { memo } from 'react'


import './index.less';
import img1 from '../../assets/img/bg2.jpg';
import { pureFinalPropsSelectorFactory } from 'react-redux/es/connect/selectorFactory';
// 主要用于展示公共组件歌单卡片
const SongCard = memo((props) => {
  const { el } = props;
  return (
      <div className='songcard'>
          <div className='songcard_img'>
              <img src={el.coverImgUrl||el.coverUrl } alt="" />
          </div>
          <div className='songcard_title'>
          <a>{el.name}+{ el.playCount||el.listenerCount}</a>
          </div>
    </div>
  )
})

export default SongCard